package com.xzh.service.impl;

import com.xzh.dao.AppointEcharsMapper;
import com.xzh.service.AppointEcharsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class AppointEcharsServiceImpl implements AppointEcharsService {
    private AppointEcharsMapper appointEcharsMapper;
    @Autowired
    public AppointEcharsServiceImpl(AppointEcharsMapper appointEcharsMapper) {
        this.appointEcharsMapper = appointEcharsMapper;
    }

    @Override
    public List<Map<String, Object>> statistics() {
        return appointEcharsMapper.statistics();
    }
}
